<div style="height: 7px;"></div>
<div class="content flex-1 bac-aliceblue home-content">

    <div class="content-div">
        <div class="content-div2">
            <div class="flex h-center v-center bac-aliceblue div1">
                <div class="flex-1">
                    <span>序号</span>
                </div>
                <div class="flex-1">
                    <span >表演者</span>
                </div>
                <div class="flex-2">
                    <span>表演曲目</span>
                </div>
                <div class="flex-2">
                    <span>表演乐器</span>
                </div>
                <div class="flex-1">
                    <span>乐感理解</span>
                </div>
                <div class="flex-1">
                    <span>技巧掌握</span>
                </div>
                <div class="flex-1">
                    <span>曲目流畅</span>
                </div>
                <div class="flex-1">
                    <span>音色控制</span>
                </div>
                <div class="flex-1">
                    <span>音乐素养</span>
                </div>
                <div class="flex-1">
                    <span>分数总计</span>
                </div>
                <div class="flex-2">
                    <span>时间</span>
                </div>
                <div class="flex-1">
                    <span>操作</span>
                </div>
            </div>






        </div>
        <div class="div2">

            {volist name="list" id="vo"}
            <div class="flex h-center v-center div3">
                <div class="flex-1">
                    <span>{$vo['pid']}</span>
                </div>
                <div class="flex-1">
                    <span >{$vo['performer']}</span>
                </div>
                <div class="flex-2">
                    <span><{$vo['proname']}></span>
                </div>
                <div class="flex-2">
                    <span>{$vo['musical']}</span>
                </div>
                <div class="flex-1">
                    <span>{$vo['learn']}</span>
                </div>
                <div class="flex-1">
                    <span>{$vo['skill']}</span>
                </div>
                <div class="flex-1">
                    <span>{$vo['fluency']}</span>
                </div>
                <div class="flex-1">
                    <span>{$vo['control']}</span>
                </div>
                <div class="flex-1">
                    <span>{$vo['influence']}</span>
                </div>
                <div class="flex-1">
                    <span>{$vo['avgscore']}</span>
                </div>
                <div class="flex-2">
                    <span>{$vo['update_time']}</span>
                </div>
                <div class="flex-1 color-red">
                    <a href="javascript:;" class="del" val="{$vo['pid']}"><span>删除</span></a>
                </div>
            </div>
        {/volist}
    </div>
</div>


</div>

</div>
<script>
    $(function(){
        $(".del").click(function () {
            var nowId = $(this).attr('val');
            if(confirm('确定删除？')) {
                $.ajax({
                    url:"__SITE__/admin/Program/delHistory",
                    data:{nowId:nowId},
                    type:'POST',
                    dataType:'json',
                    success:function (data) {
                        if(data.status == 1) {
                            alert(data.msg);
                            window.location.reload();
                        }
                    }
                });
            }
        });

        //切换选中示例
        //home,lists,history,account,running,
        var select_tab = "history";
        if(!select_tab){
            select_tab = "home";
        }
        $(".menu .menu-div").removeClass("bac-blue");

        $(".menu #tab_"+select_tab).addClass("bac-blue");
        if(select_tab=="home"){
            $(".running-right").hide();
        }
        if(select_tab=="running"){
            $("#tab_running").addClass("bac-blue");
        }
    });
</script>
</body>
</html>